package com.elitedatai.mchtest.wayline.model.entity;

import com.elitedatai.mchtest.common.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import jakarta.persistence.*;
import java.io.Serializable;


@Data
@Table(name = "wayline_file")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class WaylineFileEntity extends BaseEntity implements Serializable {
    
    @Column(name = "name")
    private String name;

    @Column(name = "wayline_id")
    private String waylineId;

    @Column(name = "drone_model_key")
    private String droneModelKey;

    @Column(name = "payload_model_keys")
    private String payloadModelKeys;

    @Column(name = "sign")
    private String sign;

    @Column(name = "workspace_id")
    private String workspaceId;

    @Column(name = "favorited")
    private Boolean favorited;

    @Column(name = "template_types")
    private String templateTypes;

    @Column(name = "object_key")
    private String objectKey;

    @Column(name = "user_name")
    private String username;

}
